
import { createRouter, createWebHashHistory } from "vue-router";
import Home from '../pages/Home/index.vue'
import CheatInstall from '../pages/CheatInstall/index.vue'
import About from '../pages/About/index.vue'
import Settings from '@renderer/pages/Settings/index.vue'


const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            redirect: '/home'
        },
        {
            name: 'home',
            path: '/home',
            component: Home,
        },
        {
            name: 'install',
            path: '/install',
            component: CheatInstall
        },
        {
            name: 'settings',
            path: '/settings',
            component: Settings
        },
        {
            name: 'about',
            path: '/about',
            component: About
        }
    ]
})

export default router